package model.agent.service.Impl;


import model.agent.entity.Newagent;
import model.agent.service.INewagentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by Administrator on 2019/6/23.
 */
@Service
@Transactional
public class NewAgentServiceImpl implements INewagentService {
    @Autowired
    private INewagentService service;

    @Override
    public List<Newagent> findall(String name) {
       return service.findall(name);
    }
}
